package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IContractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @作者:zgh
 * @日期:2024/11/7 21:32
 * @描述:
 */
@Component
public class UpdateContractStatusJob {

    //注入合同的service对象
    @Autowired
    private IContractService contractService;
    public void updateContractStatus(){
        contractService.updateContractStatus();
    }
}
